package com.tencreat.domain.mall.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tencreat.common.core.domain.dto.BasePageEntityDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 店铺商品大厅查询入参
 * @author zixin
 */
@Data
public class MallStoreGoodsAuditDTO extends BasePageEntityDTO {

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("商品二级分类")
    private Long categoryId;

    @ApiModelProperty("商品一级分类")
    private Long topCategoryId;

    @ApiModelProperty(value = "审核状态, 0|待审核,2|已驳回")
    private Integer auditStatus;

    @ApiModelProperty(value = "商家ID", hidden = true)
    private Long userId;

    @ApiModelProperty("店铺名称")
    private String storeName;

    @ApiModelProperty("店铺手机号")
    private String storePhone;

    @ApiModelProperty("商品ID")
    private String id;

    @ApiModelProperty("开始时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    @ApiModelProperty("结束时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    private String sortStr;
    private String sortDesc;
}
